package org.rebluh.hulunbuirtravelnetworkbackendframework.controller;

import org.rebluh.hulunbuirtravelnetworkbackendframework.domain.FilterIcon;
import org.rebluh.hulunbuirtravelnetworkbackendframework.service.FilterIconService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("filterIcon")
public class FilterIconController {
    @Autowired
    private FilterIconService filterIconService;

    @GetMapping
    public List<FilterIcon> getAllFilterIcon() {
        return filterIconService.getAllFilterIcon();
    }
}
